<script setup lang="ts">
import { onMounted, ref } from "vue";
import main from './main.ts'

const wrapRef = ref<HTMLDivElement>()

onMounted(() => {
  if (wrapRef.value) {
    main(wrapRef.value)
  }

})
</script>
<template>
  <div :class="$style.wrap" ref="wrapRef"></div>
</template>
<style module>
.wrap {
  width: 100vw;
  height: 100vh;
}
</style>